package com.example.login.api

import com.example.login.entity.LoginResultEntity
import com.example.network.BaseResponse
import okhttp3.RequestBody
import retrofit2.http.Body
import retrofit2.http.POST

interface LoginApiServer {

    @POST("/sysUser/registerUser")
    suspend fun registerToServer(@Body body: RequestBody):LoginResultEntity

    @POST("/sysUser/loginUser")
    suspend fun loginToServer(@Body body: RequestBody):LoginResultEntity
}